//===============================================================================
// Microsoft patterns & practices Enterprise Library Contribution
// Query Application Block
//===============================================================================

namespace EntLibContrib.Query
{
	/// <summary>
	/// This interface defines the contract that must be implemented by all parameter classes. 
	/// </summary>
	public interface IParameter
	{
		#region Properties
		/// <summary>
		/// Gets or sets the name of the parameter.
		/// </summary>
		/// <value>The name of the parameter.</value>
		/// <remarks>Exclude parameter name tokens for generic queries e.g. for SQL parameter formats
		/// like @Name the @ symbol prefix can be excluded</remarks>
		string Name
		{
			get;
			set;
		}

		/// <summary>
		/// Gets or sets the parameter value.
		/// </summary>
		/// <value>The parameter value.</value>
		object Value
		{
			get;
			set;
		}
		#endregion
	}
}
